<?php

use yii\helpers\Html;

/**
* @var yii\web\View $this
* @var yiike\store\models\Goods $model
*/

$this->title = Yii::t('models', 'Goods');
$this->params['breadcrumbs'][] = ['label' => Yii::t('models', 'Goods'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => (string)$model->title, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = '编辑';
?>
<div class="box box-info giiant-crud goods-update">
    <div class="box-header with-border">
        <div class="box-title">
            <?= Html::encode($model->title) ?>
        </div>
    </div>
    <div class="box-body">
        <div class="crud-navigation">
            <?= Html::a('<span class="fa fa-file-o"></span> ' . '查看', ['view', 'id' => $model->id], ['class' => 'btn btn-default']) ?>
        </div>

        <hr />

        <?php echo $this->render('_form', [
            'model' => $model,
            'category'=>$category,
            'provincesHtml'=>$provincesHtml,
            'is_spec'=>$is_spec,
            'SpecData'=>$SpecData,
            'property'=>$property,
            'tags'=>$tags,
            'store'=>$store,
        ]); ?>
    </div>
</div>
